package com.dao;

import com.pojo.Resources;
import com.pojo.User;

import java.sql.SQLException;
import java.util.List;

public interface UserDao {
    public User getuserOne(User user);
    public List<User> getuserAll(int page,int limit);
    public List<User> getuserAll();

    public int delUser(int id) throws SQLException;
    public int upateUser(User user) throws SQLException;
    public int insertUser(User user) throws SQLException;
    public User getuserOne(int id);
}
